@import 'src/variables';

// table styled by ./src/styles/components/issue-table.scss

.issue-description {
  flex-grow: 1;
  width: 100%;
}

.issue-table {
  .description-row {
    th {
      cursor: pointer;
    }
  }
}

.wrapper {
  margin: $s * 2;
  margin-bottom: $s;
}

.comment {
  display: flex;
  margin-bottom: $s * 2;
  align-items: flex-start;

  .author-avatar {
    margin-right: $s;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
  }

  .author-name {
    font-weight: bold;
  }

  .when {
    margin-left: $s;
    opacity: 0.6;
  }

  .name-and-comment-content {
  }
}

.attachments {
  //margin-bottom: $s;
  // because they have an inner padding
  &.hasAttachments {
    margin-top: -$s;
  }
}

.updates {
  text-align: center;

  h3 {
    margin-top: $s;
    margin-bottom: 0;
  }
}

.changelog {
  list-style: none;
  margin: 0 0 $s * 2;
  padding: 0 0 $s * 2;
  max-height: 100px;
  display: block;
  overflow-y: auto;

  li {
    padding: 0;
    margin: 0;
  }
}

.summary a {
  color: inherit;
}

.subtask-list,
.related-issue-list {
  margin: 0;
  padding: 0;

  a {
    color: inherit;
    font-weight: bold;
  }
}
.subtask-list {
  margin-left: $s * 2;
}

.related-issue-list {
  list-style-type: none;
}
